import { defineConfig } from 'vite'
import babel from '@rollup/plugin-babel'
import { visualizer } from 'rollup-plugin-visualizer'

export default defineConfig(({})=>{
  return {
    build:{
      rollupOptions:{
        input:'',
        output:{
          file:'',
          format:'umd',
          name:'reactivity',
          sourcemap: true,
        },
        plugins:[
          babel({
            exclude:['node_modules/**']
          })

        ] 

      }
    },

    server:{
      host:'localhost',
      port:9527,
      
    },

    plugins:[
      visualizer({
        filename:''
      })
    ]

  }
})
